package org.hismig.cfg;

import java.util.List;

import org.hismig.utils.ListTool;

/**
 * @declare: //TODO <br />
 *           This class created by Vansion.Hopihit on 2012-07-04 <br />
 *           <a href="mailto:vansionhopihit@gmail.com">Contact Me</a>
 * @version 1.0
 * @author Vansion.Hopihit
 * 
 */
public class Trigger {

	private String className;

	private List<Param> params;

	public String getClassName() {
		return className;
	}
	public List<Param> getParams() {
		return params;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public void setParams(List<Param> params) {
		this.params = params;
	}

	public String getParamByName(String name) {
		return ListTool.getParamByName(params, name);
	}
}
